<script setup>
defineProps({
  list: {
    type: Array,
    required: true,
    default: () => []
  }
});
</script>

<template>
  <div class="shortcut_box">
    <div class="shortcut_item" v-for="(item, index) in list" :key="index">
      <div>
        <div class="icon_bg">
          <a :href="item.link" target="_blank" rel="nofollow">
            <img class="shortcut_icon" :src="item.icon" alt="">
          </a>
        </div>
        <a :href="item.link" target="_blank" rel="nofollow">
          {{ item.title }}
        </a>
      </div>
    </div>
  </div>
</template>
